package xyz.jangle.dao;

import java.util.List;

import xyz.jangle.model.BsUser;

public interface BsUserMapper {
	
	List<BsUser> selectPage(BsUser record);
	/**
	 * 分页查询统计数量
	 * @param record
	 * @return
	 */
	Long selectPageCount(BsUser record);

	BsUser selectByPrimaryKey(Long id);

	Long insert(BsUser record);

	Long updateByPrimaryKey(BsUser record);
	/**
	 * 批量删除（改状态）
	 * @param record
	 */
	Long batchDeleteByPrimaryKey(BsUser record);
	Long deleteByPrimaryKey(Long id);
	/**
	 * 根据帐号查询账户
	 * @param code
	 * @return
	 */
	BsUser selectByCode(String code);

}
